package cn.org.xiaosheng.strategy.solver.impl;

import cn.org.xiaosheng.enums.OperateTypeEnum;
import cn.org.xiaosheng.enums.PlatformTypeEnum;
import cn.org.xiaosheng.strategy.solver.Solver;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class LogSolver extends Solver {

    @Override
    public void solve(Object args, PlatformTypeEnum platformTypeEnum, String remark) {
      log.info("LogSolver触发了solve方法! 唤醒类型为:" + OperateTypeEnum.ONE);
    }

    @Override
    public OperateTypeEnum supports() {
        return OperateTypeEnum.ONE;
    }
}
